import { PageParamsModel } from "@/model/page-params-model";

const options: object = {
  searchMenuPosition: "center",
  searchMenuSpan: 10,
  searchSpan: 10,
  selection: true,
  selectionFixed: true,
  viewBtn: false,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  refreshBtn: false,
  columnBtn: false,
  searchShowBtn: false,
  filterBtn: false,
  gridBtn: false,
  menu: false,
  column: [
    {
      label: "SN",
      prop: "device_sn",
      search: true,
    },
    {
      label: "设备名称",
      prop: "device_name",
    },
    {
      label: "设备类型",
      prop: "device_category",
    },
  ],
};

export default options;

export class UserWithDeviceSearchModel extends PageParamsModel {
  filter_device_sn?: string = ""; // 设备sn
}
